package com.sunxiansheng.user.entity.req;

import com.sunxiansheng.user.entity.page.PageInfo;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * (SysUser)Req实体类：接受前端请求
 *
 * @author sun
 * @since 2024-07-18 16:59:16
 */
@Data
@Accessors(chain = true) // 支持链式调用
public class SysUserReq extends PageInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiParam("id")
    private Long id;

    @ApiParam("用户名")
    private String name;

    @ApiParam("年龄")
    private Integer age;

}
